package com.atguigu.eduservice;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author: 孟繁钦
 * @createDate: 2021-12-07 16:42
 * @description: 启动类
 */
@EnableFeignClients/**/
@EnableDiscoveryClient/*nacos注册*/
@SpringBootApplication
@ComponentScan(basePackages = "com.atguigu")
public class EduTeacherApplication {
    public static void main(String[] args) {
        SpringApplication.run(EduTeacherApplication.class,args);
    }
}
